adjustSharesForStockSplits

fun adjustSharesForStockSplits(value: Long, fromDate: Int, toDate: Int): Long

Convert a number of shares of this security to account for stock splits between two dates. If you have 100 units of this currency (value) on fromDate (20230101) and there is a single 2:1 stock split on 20230115, and toDate is 20230131, then this will return 200. This works in both directions, regardless or whether fromDate comes after or before toDate.

Since

MD2024